using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using IcecreamView;
using StateSystem;
using StateSystem.Loader;

namespace View{

    public class HomePanel : IcecreamView.IC_AbstractModule
    {

        public override void OnOpenView(Dictionary<string, IC_ViewData> parameters)
        {
            base.OnOpenView(parameters);
            string str = LanguageManager.Instance.GetLanguageByID(0);
        }

        [BindUIButton("StartBtn")]
        private void OnClickStartBtn() 
        {
            GameStateManager.Instance.OpenState(GameState.GameLoading, new SceneLoader(SceneName.GameScene) , GameState.GameRoom);
        }
    }
}
